<template>
  <div>
    <a v-bind:href="url">点击去到百度</a>
    <img :src="theImg" alt="kxs" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      url: "http://www.baidu.com",
      theImg:
        "https://img1.baidu.com/it/u=3349489670,1189412466&fm=26&fmt=auto&gp=0.jpg",
    };
  },
};
</script>

<style>
</style>